package com.itheima.zuoYe;

public class Test {
    public static void main(String[] args) {
        int peaches = 1;
        for (int day = 9; day >= 1; day--) {
            peaches = (peaches+1)*2;
        }
        System.out.println(("猴子第一天摘了:" + peaches + "个桃子"));
    }
}
